<!DOCTYPE HTML>
<html>
<head>
<title>40Towers - The Papers</title>
<link rel="stylesheet" href="css/global.css" />
<link rel="stylesheet" href="css/thepapers.css" />
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<?php
	include("components/analytics.php");
	$mysqli = new mysqli("localhost", "ftowers_mark", "j4cfm77", "ftowers_database");
	if ($mysqli->connect_errno) {
    	printf("Connect failed: %s\n", $mysqli->connect_error);
    	exit();
	}
?>
</head>
<body>

<div id="page">
    <?php
		include("components/header.php");
		include("components/nav.php");
	?>
    
    <section class="group" id="papers">
        <h1>The Papers</h1>
        <div class="papers-logo">
        	<img src="img/torquay_ news_logo.gif" width="300" height="75" />
        </div>
        <?php 
			if ($result = $mysqli->query("SELECT * FROM NewsItem ORDER BY postDate DESC")) { 
				while($obj = $result->fetch_object()){ 
					$id = $obj->id;
					$title = $obj->title; 
					$bodyCopy = substr($obj->bodyCopy, 0, strpos($obj->bodyCopy, ' ', 256)); 
					$postDate = $obj->postDate;
					$sourceUrl = $obj->sourceUrl;
					
					$imageUrl = "img/missing_image.gif";
					
					if ($result2 = $mysqli->query("SELECT * FROM image WHERE id=".$obj->imageId )) { 
						while($obj2 = $result2->fetch_object()){ 
							$imageUrl = $obj2->url;
						}
					}
		?>
        <article>
        	<h2><?php echo $title; ?></h2>
        	<p><?php echo $bodyCopy; ?></p>
            <?php if ( $sourceUrl != "#" ) { ?>
            	<footer>
                	<p>Posted on <time datetime="<?php echo $postDate; ?>"><?php echo date('l jS \of F Y', strtotime($postDate) ); ?> |&nbsp;<a href='news_item.php?id=<?php echo $id; ?>'>Full&nbsp;Story</a>&nbsp;|&nbsp;<a href="<?php echo $sourceUrl; ?>" target="_blank">Source</a></p>
                </footer>
			<?php } ?>
            
        </article>
        <?php
				} 
			}
		?>
        <!--
            <table width="100%" border="0" cellpadding="5" cellspacing="10" bgcolor="#FFFFCC">
  <tbody>
    <tr>
      <td colspan="4" align="center"><hr /></td>
    </tr>
    <tr valign="top">
      <td colspan="2"><div>
        <div>
          <h3>An audience with Sybil</h3>
          <h5><a href="http://web.archive.org/web/20071015084209/http://www.theage.com.au/articles/2004/10/31/1099219994742.html?oneclick=true" target="theage.com">Source</a> - Sunday, 31 October, 2004.</h5>
          <p>It's 25 years since Prunella Scales appeared in Fawlty Towers. But even playing Queen Victoria can't eclipse the majesty of the experience. By Michael Shmith.</p>
        </div>
        <div>
          <hr />
        </div>
        <h3>Cleese makes internet history</h3>
        <h5><a href="http://web.archive.org/web/20071015084209/http://news.bbc.co.uk/1/hi/entertainment/737307.stm" target="bbc_news">Source</a> - Friday, 5 May, 2000.</h5>
        <p>Funnyman John Cleese made history on Friday by appearing in the first major film produced exclusively for the internet.</p>
        <p>The 60-year-old British actor, best known for his role as madcap Basil Fawlty in the sitcom Fawlty Towers, stars alongside Stephen Dorff in Quantum Project.</p>
        <p>The movie, which cost $3m (£1.9m) to make, lasts just 32 minutes and combines live action with computer animation and 3D effects</p>
      </div>
        <div>
          <hr />
          <h3>Cleese awarded £13,500 damages</h3>
          <h5><a href="http://web.archive.org/web/20071015084209/http://news.bbc.co.uk/2/hi/entertainment/2732075.stm" target="bbc_news">Source</a> - Wednesday, 12 February, 2003.</h5>
          <p>Comedian John Cleese has been awarded £13,500 by a High Court judge against the London Evening Standard over a story about his move to the United States.</p>
          <p>Cleese had demanded damages over what he described as a &quot;vicious&quot; attack on him in an article that appeared on 11 April last year.</p>
          <hr />
          <h3>German Basil avoids 'war'</h3>
          <h5><a href="http://web.archive.org/web/20071015084209/http://news.bbc.co.uk/1/hi/entertainment/tv_and_radio/1432077.stm" target="bbc_news">Source</a> - Tuesday, 10 July, 2001.</h5>
          <p>BBC Worldwide's German remake of classic comedy Fawlty Towers will be much like the British original - except for the absence of the &quot;Don't mention the war&quot; sketch.</p>
          <p>The new series, announced by Worldwide last year, will be produced by Cologne-based company Clou Entertainment and shown on German channel RTL.</p>
          <hr />
          <h3>Fawlty Towers gets German makeover</h3>
          <h5><a href="http://web.archive.org/web/20071015084209/http://news.bbc.co.uk/1/hi/entertainment/791920.stm" target="bbc_news">Source</a> - Thursday, 15 June, 2000.</h5>
          <p>Classic comedy Fawlty Towers is to be remade for German television - complete with its infamous &quot;Don't mention the war&quot; sketch.</p>
          <p>The anarchic 70s sitcom, starring John Cleese as manic seaside guesthouse owner Basil Fawlty, will be moved from its original British resort to a similar German town.</p>
          <hr />
          <h3>Fawlty Towers goes west</h3>
          <h5><a href="http://web.archive.org/web/20071015084209/http://news.bbc.co.uk/1/hi/uk/57452.stm" target="bbc_news">Source</a> - Thursday, 15 June, 2000.</h5>
          <p>Fawlty Towers, the classic British TV comedy series, is to be remade for American television.</p>
          <p>A spokesman for John Cleese, the ex-Monty Python star who co-wrote the cult sitcom with his former wife Connie Booth, confirmed that a &quot;changed format deal&quot; has been agreed with CBS though he said nothing has yet been written.</p>
          <hr />
          <h3> </h3>
          <h3> </h3>
          <h3> </h3>
          <p> </p>
        </div></td>
      <td colspan="2"><div>
        <div>
          <h3>Entertainment Cleese 'set for Bond role'</h3>
          <h5><a href="http://web.archive.org/web/20071015084209/http://news.bbc.co.uk/1/hi/entertainment/newsid_255000/255032.stm" target="bbc_news">Source</a> - Thursday, January 14, 1999.</h5>
          <p>Comedy legend John Cleese is reported to have landed a role in the new James Bond film, provisionally entitled The World Is Not Enough.</p>
          <p>The star of Monty Python's Flying Circus and Fawlty Towers is expected to play sidekick to gadget expert Q, according to Empire magazine.</p>
        </div>
        <div>
          <hr />
        </div>
        <div>
          <div>
            <h3>US drops Cleese sitcom</h3>
            <h5><a href="http://web.archive.org/web/20071015084209/http://news.bbc.co.uk/1/hi/entertainment/tv_and_radio/1918773.stm" target="bbc_news">Source</a> - Tuesday, 9 April, 2002.</h5>
            <p>A sitcom starring former Monty Python star John Cleese has been dropped from US television after just two episodes.</p>
            <p>Bosses at ABC television made the decision because the show, Wednesday 9.30, failed to pull in high ratings.</p>
          </div>
          <div>
            <hr />
            <div></div>
            <div>
              <h3>Fawlty Towers tops TV hits</h3>
              <h5><a href="http://web.archive.org/web/20071015084209/http://news.bbc.co.uk/1/hi/entertainment/911085.stm" target="bbc_news">Source</a> - Tuesday, 5 September, 2000.</h5>
              <p>Madcap comedy series Fawlty Towers is the UK TV industry's favourite British television programme, according to a survey published on Tuesday.</p>
              <p>The poll, conducted by the British Film Institute, asked 1,600 programme-makers, TV critics, writers and executives to give their professional opinions and personal tastes.</p>
            </div>
            <div>
              <hr />
            </div>
            <div></div>
            <div>
              <div>
                <h3>Basil's road rage tops poll</h3>
                <h5><a href="http://web.archive.org/web/20071015084209/http://news.bbc.co.uk/1/hi/uk/480720.stm" target="bbc_news">Source</a> - Thursday, October 21, 1999.</h5>
                <p>It is an emotion many motorists will appreciate - although few go as far as Basil Fawlty and thrash their broken down vehicle with a branch.</p>
                <p>But drivers appear to at least sympathise with the fury of the unfortunate hotelier, as the famous scene from the TV series Fawlty Towers has topped a survey of momentous motoring moments.</p>
              </div>
              <div>
                <hr />
              </div>
              <div>
                <h3>Cleese gets top comedy award</h3>
                <h5><a href="http://web.archive.org/web/20071015084209/http://news.bbc.co.uk/1/hi/entertainment/1834078.stm" target="bbc_news">Source</a> - Thursday, 21 February, 2002.</h5>
                <p>Fawlty Towers actor John Cleese has been honoured with a top comedy award.</p>
                <p>He will receive the Sir Peter Ustinov/Comedy Network Award at the Banff Television Awards on 10 June.</p>
              </div>
              <div>
                <hr />
              </div>
              <div>
                <h3>MPs attack 'MacFawlty Towers'</h3>
                <h5><a href="http://web.archive.org/web/20071015084209/http://news.bbc.co.uk/1/hi/uk/404917.stm" target="bbc_news">Source</a> - Tuesday, July 27, 1999.</h5>
                <p>A committee of MPs has attacked 'Fawlty Towers'-style standards at some Scottish hotels and bed and breakfasts.</p>
                <p>And they have criticised the new Scottish Executive for failing to appoint a tourism minister to tackle problems in the industry.</p>
              </div>
              <div>
                <hr />
              </div>
              <h3> </h3>
            </div>
          </div>
        </div>
        <h3> </h3>
      </div></td>
    </tr>
  </tbody>
</table> //-->
    </section>
    
    <?php
		include("components/rightBanners.php");
	?>
    
</div>
<?php
	include("components/footer.php");
?>
</body>
</html>
